<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php if(isset($title)) echo $title;?></title>

<link rel="stylesheet" type="text/css" href="<?php echo base_url()?>assets/css/admin.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url()?>assets/css/jquery.fancybox-1.3.1.css" media="screen, projection" />
<script type="text/javascript" src="<?php echo base_url()?>assets/js/admin_js/jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>assets/js/admin_js/jquery/ui/ui.core.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>assets/js/admin_js/jquery/superfish/js/superfish.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>assets/js/admin_js/jquery/tab.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>assets/js/admin_js/jquery/jquery.fancybox-1.3.1.js"></script>
		<!-- load css facebox style -->
		<link rel="stylesheet" href="<?php echo base_url()?>assets/facebox/facebox.css" media="screen" type="text/css"/>

		<!-- Load Jquery dan Facebox plugin -->

		<script src="<?php echo base_url()?>assets/facebox/facebox.js" type="text/javascript"></script>
		
		<!-- inisiasi -->
		<script type="text/javascript">
			jQuery(document).ready(function($) {
			$('a[rel*=facebox]').facebox({
			loading_image : 'facebox/loading.gif',
			close_image   : 'facebox/closelabel.gif'
			}) 
		})
		</script>

</head>
<body>
<div id="container">
	<div id="header">
	  <div class="div1"><img src="<?php echo base_url()?>assets/images/logoX.png" title="Login"></div>
	</div>
	<div id="menu">
		<script type="text/javascript">
		$(document).ready(function() {
			$('.sf-menu').superfish({
				hoverClass	 : 'sfHover'
			});
		});
		</script>
		<ul class="sf-menu">
			<li><?php echo anchor('backend/dashboard','Dashboard')?></li>
			<li><a>Master Data</a>
				<ul>
					<li><?php echo anchor('backend/logistik','Logistik')?></li>
					<li><?php echo anchor('backend/bank','Rekening Bank')?></li>
					<li><?php echo anchor('backend/lokasi/','Lokasi')?></li>
				</ul>
			</li>
			<li><a>Katalog</a>
				<ul>
					<li><?php echo anchor('backend/kat_produk','Kategori')?></li>
					<li><?php echo anchor('backend/vendor','Brand')?></li>
					<li><?php echo anchor('backend/produk','Produk')?></li>
					<li><?php echo anchor('backend/brosur','Brosur')?></li>
				</ul>
			</li>
			<li><a>Sales</a>
				<ul>
					<li><?php echo anchor('backend/order','Order')?></li>
					<li><?php echo anchor('backend/order_confirm','Konfirmasi Order')?></li>
					<li><?php echo anchor('backend/contact','Kontak Kami')?></li>
				</ul>
			</li>
			<li><a>Member</a>
				<ul>
					<li><?php echo anchor('backend/member','Member List')?></li>
					<li><?php echo anchor('backend/testimonial','Testimonial')?></li>
					<li><?php echo anchor('backend/wishlist','Wishlist')?></li>
				</ul>
			</li>
			<li><?php echo anchor('backend/lookbook','Lookbook')?></li>
			<li><a>Site Content</a>
				<ul>
				<li><?php echo anchor('backend/kon_halaman','Static Content')?></li>
				<li><?php echo anchor('backend/kon_berita','News Ticker')?></li>
				<li><?php echo anchor('backend/kat_produk','Banner')?></li>
				</ul>
			</li>
			<li><a>Konfigurasi</a>
				<ul>
					<?php if($this->session->userdata('user_rule')=='Administrator'):?>
					<li><?php echo anchor('backend/options/','Options')?></li>
					<li><?php echo anchor('backend/user/','User')?></li>
					<?php endif;?>
					<li><?php echo anchor('backend/banner','Yahoo')?></li>
				</ul>
			</li>
		</ul>
	</div>
	<div id="content">
	<div class="box">
		<div class="breadcrumb">
		<?php echo 'Hello, '.anchor('',$this->session->userdata('user_display_name')) .' | '?>
		<?php echo anchor('backend/dashboard/doLogout','Logout')?>
		</div>
		<?php $this->view('backend/'.$template);?>
		</div>		
	</div>	
</div>
<div id="footer">
	&copy;2010 Demank Komputer 
</div>
</body>
</html>